Repository navigation
Conversation
|
Ben did a great job in figuring out that this has to do with padding. Sent an e-mail to Rob R. to figure out if we're using his library in the wrong way, or we hit a bug. |
|
I might add some of the transcript of that here for reference. The failing test in question can be executed locally with Note that to run that test on Fedora (44) you may have to set the following to allow the algo to work. In the specific test, the copying is not the problem. rr xmlsec 4.x will not validate the original element that is presentde here either. If in Glad I could help a little. It might be that the padding needs to be slightly different on the enc/sign key use or we are making the key with intent to encrypt and not sign or something. That Also in with a suitable None of this is a recommendation for changes to the rr lib. My familiarity with the internals there is not where it needs to be to make any such suggestion. These are just things I found while trying to get this particular test case to pass. It might be useful at some stage so I have copied it here. |
|
I asked Rob for help and with a little bit of help from AI he did this analysis: In other words, the failing unit test was broken in the first place. Fine, we should fix it or disable it and get going with this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release-4.x #426 +/- ##
=================================================
+ Coverage 65.78% 65.82% +0.04%
- Complexity 1882 1884 +2
=================================================
Files 141 141
Lines 4986 4992 +6
=================================================
+ Hits 3280 3286 +6
Misses 1706 1706 🚀 New features to boost your workflow:
|
|
This update allows all tests to pass locally for me here. The codecov seems stuck on github but other tests seem ok. |
|
Longer term we might like to differentiate with a |
No description provided.